/*
 * @Author: liuzehai
 * @Date: 2021-04-16 15:28:11
 * @LastEditTime: 2021-05-19 14:59:10
 * @LastEditors: liuzehai
 * @FilePath: /Card-to-payh5/src/main.js
 * @Description: 由liuzehai创建！
 */
import Vue from 'vue';
import App from './App.vue';
import router from './router';
import store from './store';

import './assets/icon/iconfont.css'

/** 引入样式文件 */
import '@/styles/reset.css';
import '@/styles/index.scss';
import './plugins/vant.js';

Vue.config.productionTip = false;

import '@/permission';
import '@/directive';
import vueMiniPlayer from 'vue-mini-player';
import 'vue-mini-player/lib/vue-mini-player.css';
Vue.use(vueMiniPlayer);

if (process.env.NODE_ENV == "development");

new Vue({
  router,
  store,
  render: h => h(App),
  beforeCreate(){
    Vue.prototype.$bus = this
  },
}).$mount('#app');
